package com.usdt.system.service.cp;

import java.util.List;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.usdt.system.domain.req.BatchTransferOutReqVO;
import com.usdt.system.domain.resp.BatchClueRespVO;
import com.usdt.system.domain.resp.BatchVisitRespVO;
import com.usdt.system.domain.resp.SalespersonRespVO;


public interface BatchManagementService {

	List<BatchClueRespVO> getBatchClueByPhoneNumber(String phoneNumber);

	List<BatchVisitRespVO> getVisitByPhoneNumber(String phoneNumber);

	/**根据权限获取业务员
	 * @return
	 */
	List<SalespersonRespVO> salesperson();

	/**批量转出线索
	 * @param vo
	 * @return
	 */
	Boolean clueBatchTransferOut(BatchTransferOutReqVO vo);

	/**批量转出到访
	 * @param vo
	 * @return
	 */
	Boolean visitBatchTransferOut(BatchTransferOutReqVO vo);

	/**线索批量转出分页列表
	 * @param source
	 * @param userId
	 * @param deptId
	 * @param pageNum
	 * @param pageSize
	 * @return
	 */
	IPage<BatchClueRespVO> batchClueTransferOutPage(String source, String userId, String deptId,String phoneNumber, Integer pageNum, Integer pageSize);

	/**到访批量转出分页列表
	 * @param source
	 * @param userId
	 * @param deptId
	 * @param pageNum
	 * @param pageSize
	 * @return
	 */
	IPage<BatchVisitRespVO> batchVisitTransferOutPage(String source, String userId, String deptId,String phoneNumber, Integer pageNum, Integer pageSize);

}
